using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
/*
songzuheng 
时间 : 10/14/2017 9:33:18 AM
描述 : 有bug可以找我改啊
*/

namespace UnityEditor
{
    [CustomPropertyDrawer(typeof(DicIntString))]
    public class IntStringSerializableDictionaryInspector : SerializableDictionaryInspector<int,string>
    {
    
    } 

    public class SerializableDictionaryInspector<K,V> : PropertyDrawer
    {
        public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
        {
            EditorGUI.LabelField(position,label);
            EditorGUI.DropShadowLabel(position, property.type);
            EditorGUILayout.TextArea("xxxx");
            /*
            EditorGUILayout.BeginScrollView(new Vector2(100,400),GUIStyle.none,new GUIStyle());
            EditorGUI.LabelField(position,label);
            EditorGUILayout.EndScrollView();
            */
        }
    }
}